package com.cykj.pos.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import com.cykj.common.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.Date;
import java.util.Map;
import java.util.HashMap;
import java.math.BigDecimal;

/**
 * 商户收益对象 biz_earnings
 *
 * @author weijianbo
 * @date 2021-03-24
 */
@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
@TableName("biz_earnings")
public class BizEarnings implements Serializable {

    private static final long serialVersionUID=1L;


    /** 主键 */
    @TableId(value = "id")
    private Long id;

    /** 商户id */
    @Excel(name = "商户id")
    private Long merchId;

    /** 激活奖励金额 */
    @Excel(name = "激活奖励金额")
    private BigDecimal activateMoney;

    /** 结算金额 */
    @Excel(name = "结算金额")
    private BigDecimal closeMoney;

    /** 创建时间 */
    private String createTime;

    /** 总金额 */
    @Excel(name = "总金额")
    private BigDecimal aggregateAmount;

    /** 生成订单月份 */
    @Excel(name = "生成订单月份")
    private String orderTime;

    @TableField(exist = false)
    private Map<String, Object> params = new HashMap<>();
}